package com.xueyi.system.audit.domain.po;

import cn.hutool.json.JSONArray;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.audit.domain.dto.BaseAuditPlanDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;

/**
 * 内审计划 持久化对象
 *
 * @author yanhe
 */
@TableName(value = "base_audit_plan", excludeProperty = {"sort", "status"}, autoResultMap = true)
public class BaseAuditPlanPo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 审核编码
     */
    @Excel(name = "审核编码")
    @TableField("code")
    private String code;

    /**
     * 审核目的
     */
    @Excel(name = "审核目的")
    @TableField("purpose")
    private String purpose;

    /**
     * 审核范围
     */
    @Excel(name = "审核范围")
    @TableField("range_type")
    private String rangeType;

    /**
     * 审核依据
     */
    @Excel(name = "审核依据")
    @TableField("basis")
    private String basis;

    /**
     * 活动安排
     */
    @Excel(name = "活动安排")
    @TableField("activity")
    private String activity;

    /**
     * 内审内容
     */
    @Excel(name = "内审内容")
    @TableField("content")
    private String content;

    /**
     * 计划制定人
     */
    @Excel(name = "计划制定人")
    @TableField("plan_maker")
    private String planMaker;

    /**
     * 计划制定时间
     */
    @Excel(name = "计划制定时间")
    @TableField("plan_develop_time")
    private String planDevelopTime;



    /**
     * 开始时间
     */
    @Excel(name = "开始时间")
    @TableField("start_time")
    private String startTime;

    /**
     * 结束时间
     */
    @Excel(name = "结束时间")
    @TableField("end_time")
    private String endTime;

    /**
     * 附件
     */

    @TableField(value = "appendix", typeHandler = FastjsonTypeHandler.class)
    private JSONArray appendix;

    public String getPlanMaker() {
        return planMaker;
    }

    public void setPlanMaker(String planMaker) {
        this.planMaker = planMaker;
    }

    public String getPlanDevelopTime() {
        return planDevelopTime;
    }

    public void setPlanDevelopTime(String planDevelopTime) {
        this.planDevelopTime = planDevelopTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public String getPurpose() {
        return purpose;
    }

    public String getRangeType() {
        return rangeType;
    }

    public void setRangeType(String rangeType) {
        this.rangeType = rangeType;
    }

    public void setBasis(String basis) {
        this.basis = basis;
    }

    public String getBasis() {
        return basis;
    }

    public void setActivity(String activity) {
        this.activity = activity;
    }

    public String getActivity() {
        return activity;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setAppendix(JSONArray appendix) {
        this.appendix = appendix;
    }

    public JSONArray getAppendix() {
        return appendix;
    }

}
